﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class Tag
    {
        public Tag()
        { 
        }

        public int Id { get; set; }
        [Index]
        public byte ModelId { get; set; }
        [Index]
        public string TagName { get; set; }
        public long? Counts { get; set; }
        public long? ViewCounts { get; set; }
        public int? UserId { get; set; }
        public byte? Flag { get; set; }
         
        public virtual ICollection<Core> Cores { get; set; }
    }
}